package com.oa.service.impl;


import com.oa.pojo.Vacation;
import com.oa.service.VacationService;
import com.oa.mapper.VacationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
* @author zhou
* @description 针对表【vacation】的数据库操作Service实现
* @createDate 2023-11-03 10:31:57
*/
@Service
public class VacationServiceImpl implements VacationService{
    @Autowired
    private VacationMapper vacationMapper;

    @Override
    public List<Vacation> selectAllByIdVacations(Vacation vacation){
        List<Vacation> vacationList =new ArrayList<>();
        vacationList = vacationMapper.selectAllByIdVacations(vacation);
        return vacationList;
    }
}




